﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class PlayerStatsRequest
    {
        
            public string Username { get; set; }
            public string OpponentUsername { get; set; }


            public PlayerStatsBIRequest FromDto()
            {
                PlayerStatsBIRequest request = new PlayerStatsBIRequest();
                request.OpponentUsername = OpponentUsername;
                request.Username = Username;
                return request;
            }
            public List<string> Log()
            {
                List<string> result = new List<string>();
                result.Add("Method: Getting player statistics - Request");
                result.Add("Request by: " + Username);
                result.Add("Opponent user name: " + OpponentUsername);
                return result;
            }
    }
}
